package com.ivan.demo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @Author Ivan
 * @Description 测试excel
 * @Date 2020/8/8 13:26
 */
@Data
public class DemoData {
    //设置excel表头
    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("年龄")
    private Integer age;
}
